<%@ page language="java" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>

<html>
<head>
 <base href="<%=basePath%>">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
  <body>
    <form action="<%=basePath%>/login" method="post">
    <ul>
    	<li>姓　名：<input type="text" name="account" /> </li>
    	<li>密　码：<input type="text" name="password" /> </li>
    	<li>验证码：<input type="text" name="validateCode" />&nbsp;&nbsp;<img id="validateCodeImg" src="<%=basePath%>/validateCode" />&nbsp;&nbsp;<a href="#" onclick="javascript:reloadValidateCode();">看不清？</a></li>
    	<li><input type="submit" value="确认" /> </li>
    </ul>
    </form>
  </body>
</html>